const express = require('express')
const app = express()

app.get('/server', (request, response) => {
    response.setHeader('Access-Control-Allow-Origin', "*")
    console.log(request.query)
    const { a, b } = request.query
    response.send(`'faklsfdas', "参数 a= " + ${a}, " 参数 b= " + ${b}`)
})

app.listen(8000, () => {
    console.log('8000端口已经启动服务')
})

